Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcFixedFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 3 items: number, [decimals], [no_commas].

Number is the number you want to round and convert to text.

[Decimals] is the number of digits to the right of the decimal point.

[No_commas] is a logical value that, if true, prevents FIXED from including commas in the returned text.

Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as System.String.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcFixedFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 3 items: number, [decimals], [no_commas].

Number is the number you want to round and convert to text.

[Decimals] is the number of digits to the right of the decimal point.

[No_commas] is a logical value that, if true, prevents FIXED from including commas in the returned text.

Return Value

A System.String value that indicates the evaluate result.
See Also

Reference

CalcFixedFunction Class
CalcFixedFunction Members
Overload List